module.exports = function (source) {
  console.log(source);
  const globalRegExp = /(?<= )className=\{\[(([\s\S])*?)\]\}/g;
  if (this.cacheable) {
    this.cacheable();
  }
  if (globalRegExp.test(source)) {
    return source.replace(globalRegExp, ($0) => {
      return $0.replace(/\]\}$/, '].filter(Boolean).join(" ")}');
    });
  } else {
    return source;
  }
};
